home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / sysadmin.527 < prev    next >
Text File  |  1992-02-06  |  1KB  |  26 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f3\fmodern Ohlfs;\f1\fmodern Courier;}
  2. \paperw11440
  3. \paperh9000
  4. \margl120
  5. \margr120
  6. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ul0\fs28 su doesn't work\
  7. \
  8. Q: I tried running su(1) to become root.  I'm in the wheel group.  I typed the right password.  I even see the line\
  9. \
  10.  
  11. \f3\fs20     Jun 19 12:21:03 myhost su: me on /dev/ttyp1\
  12.  
  13. \f0\fs28 \
  14. in my console window, very shortly after I run su.  But, my prompt is not the root prompt, and whoami(1) tells me I'm still “me”!  What's going on?\
  15. \
  16. A: Check your current working directory, and all its parent directories.  Does root have read and search  permission (“r” and “x” modes) on all the directories in the current directory's path?  Don't say “of course — that's root!” so quickly: a remote NFS-mouned filesystem might be exported so that root does 
  17. \i not
  18. \i0  have superuser privileges across the network.  If root cannot read and search all directories in the current directory's path, you'll see the symptoms described above, and the su won't work.\
  19. \
  20. QA527\
  21. \
  22. Valid for 1.0 \
  23. Valid for 2.0\
  24. \
  25.  
  26.